package br.com.fidalgotecnologia.layar.itg;

import br.com.fidalgotecnologia.layar.data.IconDAO;
import br.com.fidalgotecnologia.layar.entity.Icon;

public class ItgIcon {
	private static ItgIcon instance;

	public static ItgIcon getInstance() {
		if(instance == null){
			instance = new ItgIcon();
		}
		return instance;
	} 
	
	public byte[] getImagem(Icon icon){
		return IconDAO.getInstance().buscarIcon(icon).getArquivo();
	}
	
}
